<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $q?> 搜索结果 - powered by dedecms</title>
<link href="../templets/info/style/cls_base.css" rel="stylesheet" type="text/css" />
<link href="../templets/info/style/cls_page.css" rel="stylesheet" type="text/css" />
</head>
<body>

<!--头部LOGO-->
<div class="toplogo cbody margintop">
	<div class="logobox">
		<img src="{dede:field name='templeturl'/}/images/toplogo.gif" width="200" height="60" alt="{dede:global name='cfg_webname'/}" /></a>
	</div>
	<div class="logoright">
		<ul>
			<li><a href="#">同城交友</a></li>
			<li><a href="#">招聘求职</a></li>
			<li><a href="#">跳蚤市场</a></li>
			<li><a href="#">学习与培训</a></li>
		</ul>
	</div>
</div>

<!--头部搜索-->
<div class="topbox cbody margintop">
	<!--搜索框-->
	<form action="infosearch.php?action=search" name="formsearch" method="post">
	<div class="searchbox">
		<dl>
			<dd class="sboxleft"><!--搜索框图标--></dd>
			<dd class="txtbox">
				<input type="text" name="q" value="" onmouseover="this.select();" onclick="this.value='';"  />
			</dd>
			<dd class="selectbox">
					<select name="areaid">
					<?php echo $areadata?>
					</select>
			</dd>
		</dl>
	</div>
	<!--按钮-->
	<div class="postbox">
		<input type="submit" value="搜索" class="sbut" />
		<a href="../member/do.php?action=add&channelid=-2" class="pbut">发布信息</a>
	</div>
	</form>
</div>

<!--主内容-->
<div class="main cbody margintop">
	<!--左侧-->
	<div class="pleft">
		<!--位置导航-->
		<div class="thisplace">
			<div class="title"><span>您的位置:</span></div>
			<div class="place"> <a href="../">首页</a> >> 关键词 "<?php echo $q?>" 搜索结果页:</div>

		</div>
		<!--信息列表-->
		<div class="dbox">
<?php
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
	$row['senddate'] = GetDateTimeMK($row['senddate']);
	$row['title'] = str_replace("$q","<strong style='color:red'>$q</strong>",$row['title']);
?>
			<dl>
				<dt><a href="/plus/view.php?aid=<?php echo $row['ID']?>&tid=<?php echo $row['typeid']?>" class="title"><?php echo $row['title']?></a> <a href="../member/index.php?id=<?php echo $row['memberID']?>" class="username"><?php echo $row['writer']?></a>  发布于 <span class="dtime"><?php echo $row['senddate']?></span></dt>
			</dl>
<?php
}
?>

		</div>

		<!--分页-->
		<div class="pages">
<?php echo $dlist->GetPageList(7);?>
		</div>
	</div>

	<!--右侧-->
	<div class="pright">

		<!--信息列表-->
		<div class="slist margintop">
			<dl>
				<dt>热门信息</dt>
				<dd>
					<ul>
<?php
if($hotinfos)
{
	foreach($hotinfos as $info)
	{
		echo '<li><a href="/plus/view.php?aid='.$info['ID'].'&tid='.$info['typeid'].'">'.$info['title']."</a></li>\n";
	}
}
?>
					</ul>
				</dd>
			</dl>
		</div>
	</div>
	<!--清除浮动-->
	<div class="floatclear"></div>
</div>


<!--页面底部-->
<div class="footer cbody margintop">
		<div class="copyright"> 
                <div style="font-size:12px">{dede:global name='cfg_powerby'/}
                <a href="http://www.miibeian.gov.cn/">{dede:global name='cfg_beian'/}</a>              
            </div> 
		Powered by <a href="http://www.dedecms.com/">DedeCms {dede:global name='cfg_version'/}</a> &copy; 2004-2008  <a href="http://www.desdev.cn/">DesDev Inc.</a><br />
	</div>
	<div class="slogo">
		<a href="http://www.dedecms.com" target="_blank"><img src="../templets/info/images/s_logo.gif" width="66" height="33" alt="" /></a>
	</div>
	<div class="floatclear"></div>
</div>

</body>
</html>